package com.project.dao;

import java.util.List;

import com.project.dao.bean.MenuRelation;
import com.project.webapp.form.backend.basic.MenuForm;

/**
 * 
 * <pre>
 * 菜单关系
 * </pre>
 *
 * @author lantian
 * @version $Id: IMenuRelation.java, v 0.1 2012-9-7 下午01:33:55 lantian Exp $
 */
public interface IMenuRelationDao extends IBaseDao {
    public void save(MenuRelation menuRelation) throws Exception;

    public List<String> getAncestorIdByDescendantId(String descendantId) throws Exception;

    public boolean isHaveSubMenu(MenuForm menuForm) throws Exception;

    public void delete(MenuForm menuForm) throws Exception;
}
